package com.aliang.shopping.contact;

/**
 * Sql字段常量
 */
public interface SqlColumnConstant {

    //数据库字段
    String USERNAME = "username";
    String EMAIL = "email";
    String PHONE = "phone";
    String PASSWORD = "password";
    String USER_TYPE = "user_type";
    String STATUS = "status";
    Integer STATUS_OK = 1;
    Integer STATUS_FAIL = 0;

    String ID = "id";

    String CONTACT_ID = "contact_id";
    String USER_ID = "user_id";

    String GOODS_NAME = "goodsName";
    String ORDER_NUM = "order_num";

    // Redis字段
    String HOT_SEARCH = "yx_shopping:hot_search";

    String GOODS_TYPE_OPTION = "yx_shopping:goods_type_option";
    Integer NOTICE_TO_USER = 0;
    Integer NOTICE_TO_BUSINESS = 1;
}
